package com.freedom.study.comresp;
/**
 * 描述：用于封装返回的信息  ( 业务类型code + 业务处理结果code) + (业务类型 + 业务处理结果信息)
 * @author LiPan
 * @since 2017年11月15日上午10:12:06
 */
public class Meta {

	private Integer code;
	
	private String message;

	public Integer getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Meta(Integer code, String message) {
		super();
		this.code = code;
		this.message = message;
	}

	public Meta(String typeCode, String resultCode,String typeMessage,String resultMessage) {
		super();
		this.code = Integer.valueOf(typeCode+resultCode);
		this.message = typeMessage+","+resultMessage;
	}
	
	
}
